@extends('layouts.master')

@section('title')
    商品管理——木投网商城管理后台
@stop

@section('app_css')
    <link href="/resource/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/resource/css/style.css">
@stop

@section('app_js')
    <script src="/resource/js/jquery-1.9.1.min.js"></script>
    <script src="/resource/js/jquery-migrate-1.0.0.min.js"></script>
    <script src="/resource/js/jquery-ui-1.10.0.custom.min.js"></script>
    <script src="/resource/js/bootstrap.min.js"></script>
    <script src='/resource/js/jquery.dataTables.min.js'></script>
    <script src="/resource/js/jquery.chosen.min.js"></script>
    <script src="/resource/js/jquery.uniform.min.js"></script>
    <script src="/resource/js/jquery.cleditor.min.js"></script>
    <script src="/resource/js/jquery.elfinder.min.js"></script>
    <script src="/resource/js/jquery.raty.min.js"></script>
    <script src="/resource/js/jquery.uploadify-3.1.min.js"></script>
    <script src="/resource/js/custom.js"></script>
    <script type="text/javascript">
        $(".tishiTitle").toggle(function(){
            $(".tishiSpan").hide();
        },function(){
            $(".tishiSpan").show();
        });
    </script>
@stop


@section('content')
    @include('common.nav')
    <div class="container-fluid">
        <div class="row" id="navLeft">
            <div class="col-lg-2">
                <ul class="nav nav-pills nav-stacked">
                    <li role="presentation"><a href="index.html">欢迎界面</a></li>
                    <li role="presentation"><a href="member.html">会员管理</a></li>
                    <li role="presentation"><a href="shop.html">店铺管理</a></li>
                    <li role="presentation" class="active"><a href="commodity.html">商品管理</a></li>
                    <li role="presentation"><a href="order.html">实物订单</a></li>
                </ul>
            </div>
            <div class="col-lg-10">
                <div class="navbottom">
                    <span>您的位置：</span>控制台 > 商品管理
                </div>
                <div class="contentNav">
                    <ul>
                        <li>商品</li>
                        <li class="btn btn-default active"><a href="">所有商品</a></li>
                        <li class="btn btn-default"><a href="">违规下架商品</a></li>
                        <li class="btn btn-default"><a href="">等待审核</a></li>
                        <li class="btn btn-default"><a href="">商品设置</a></li>
                    </ul>
                </div>
                <div class="contentMember">
                    <form class="bs-docs-example">
                        商品名称
                        <input type="text" class="input-small">
                        平台货号
                        <input type="text" class="input-small">
                        分类
                        <select>
                            <option>请选择...</option>
                            <option>红木</option>
                            <option>原木</option>
                            <option>锯材</option>
                            <option>人造板</option>
                            <option>地板</option>
                            <option>家具</option>
                            <option>家装材料</option>
                            <option>建筑模板</option>
                            <option>林场</option>
                            <option>木皮</option>
                            <option>木制品</option>
                        </select>
                        <br/><br/>
                        所属商品
                        <input type="text" class="input-small">
                        品&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;牌
                        <input type="text" class="input-small">
                        上架
                        <select>
                            <option>请选择...</option>
                            <option>出售中</option>
                            <option>仓库中</option>
                            <option>违规下架</option>
                        </select>
                        等待审核
                        <select>
                            <option>请选择...</option>
                            <option>通过</option>
                            <option>未通过</option>
                            <option>等待审核</option>
                        </select>
                        <button class="btn dropdown-toggle">
                            搜索
                        </button>
                    </form>
                    <div class="tishi">
                        <div class="tishiTitle">操作提示</div>
                        <div class="tishiSpan">
                            <ul>
                                <li>上架，当商品处于非上架状态时，前台将不能浏览该商品，店主可控制商品上架状态</li>
                                <li>违规下架，当商品处于违规下架状态时，前台将不能购买该商品，只有管理员可控制商品违规下架状态，并且商品只有重新编辑后才能上架</li>
                            </ul>
                        </div>
                    </div>
                    <table class="table table-striped table-bordered bootstrap-datatable datatable table-hover">
                        <thead>
                        <tr>
                            <th></th>
                            <th>平台货号</th>
                            <th>商品名称</th>
                            <th>品牌&分类</th>
                            <th>价格(元)</th>
                            <th>库存</th>
                            <th>商品状态</th>
                            <th>审核状态</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td><input type="checkbox"></td>
                            <td>100305</td>
                            <td class="huiyuan">
                                <img src="http://shop.mutouw.com/data/upload/shop/store/goods/5/5_04988459324684829_60.jpg" width="44" height="44">
                                <p class="name">优质白桦木原木刨切材锯材</p><br/>
                                <p class="time">平台店铺：侯氏木业</p>
                            </td>
                            <td>锯材 >国产锯材 >桦木<br/>品牌：</td>
                            <td>1300.00</td>
                            <td>451</td>
                            <td>出售中</td>
                            <td>通过</td>
                            <td><a href="#">编辑</a> | <a href="#">违规下架</a></td>
                        </tr>
                        </tbody>
                    </table>
                    <div class="del">
                        <input type="checkbox">
                        <span>全选</span>
                        <a class="btn btn-default" href="#" role="button">违规下架</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
@stop